﻿/************************************************************************

   Extended Silverlight Toolkit

   Copyright (C) 2010-2012 Xceed Software Inc.

   This program is provided to you under the terms of the Microsoft Public
   License (Ms-PL) as published at http://extendedsilverlight.codeplex.com/license

   Please purchase a commercial version of this toolkit if you are using
   it in a commercial product. The commercial versions support the project,
   and also include more features for each control, priority support,
   source code, updates, removed watermark, and a proprietary license.

   Visit http://xceed.com and follow @datagrid on Twitter.

  **********************************************************************/

using System;

namespace Xceed.Silverlight.Data.Stats
{
  internal class PreCovarianceResult : StatResult
  {
    internal PreCovarianceResult( object avgX, object avgY, long count, object sumX, object sumY )
      : base( null )
    {
      m_avgX = avgX;
      m_avgY = avgY;
      m_sumX = sumX;
      m_sumY = sumY;
      m_count = count;
    }

    #region AvgX Property

    internal object AvgX
    {
      get
      {
        return m_avgX;
      }
    }

    private object m_avgX;

    #endregion

    #region AvgY Property

    internal object AvgY
    {
      get
      {
        return m_avgY;
      }
    }

    private object m_avgY;

    #endregion

    #region SumX Property

    internal object SumX
    {
      get
      {
        return m_sumX;
      }
    }

    private object m_sumX;

    #endregion

    #region SumY Property

    internal object SumY
    {
      get
      {
        return m_sumY;
      }
    }

    private object m_sumY;

    #endregion

    #region Count Property

    internal long Count
    {
      get
      {
        return m_count;
      }
    }

    private long m_count;

    #endregion
  }
}
